package com.ctg.payroll2.service;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

public class BaseService {
	protected Log logger = LogFactory.getLog(this.getClass());
	/**
	 * 取得ibatis的命名空间
	 * @return
	 */
	public String getNameSpace(){
		logger.debug("取得当前的命名空间为:"+this.getClass().getSimpleName());
		return this.getClass().getSimpleName();
	}
}
